<?php
return array(
    "regex" => array(
        "?", "|/+|", "#^\s*\*(.*)#m", "/[\s]+/", "/\\.\\./",
        '/^[A-Za-z0-9\\-\\.]+$/', "/\\.\\./", '/^(\\\\.|[A-Za-z0-9!#%&`_=\\/$\'*+?^{}|~.-])+$/',
        '/^"(\\\\"|[^"])+"$/', "\\\\"
    ),
    "env" => (object) array(
        "home" => "Index",
        "path" => "PATH_INFO",
        "mreq" => "REQUEST_METHOD",
        "ruri" => "REQUEST_URI",
        "hcli" => "HTTP_CLIENT_IP",
        "href" => "HTTP_REFERER",
        "hxfo" => "HTTP_X_FORWARDED",
        "hxff" => "HTTP_X_FORWARDED_FOR",
        "hxfw" => "HTTP_X_REQUESTED_WITH",
        "xreq" => "XMLHttpRequest",
        "addr" => "REMOTE_ADDR",
        "type" => "CONTENT_TYPE",
        "json" => "application/json",
        "rreq" => "php://input"
    ),
    "headers" => array(
        "Content-Length: %d", "Expires: Mon, 26 Jul 1997 05:00:00 GMT", "Pragma: no-cache", "Cache-Control: no-cache, must-revalidate",
        "Content-Transfer-Encoding: binary", "Content-Encoding: gzip",
        "Vary: Accept-Encoding"
    ),
    "ajaxException" => "AjaxException: expected header",
    "annotationException" => "Exception: can not process annotation",
    "argumentException" => "ArgumentLengthException: expected %d, received %d",
    "cookieException" => "CookieException: invalid user-agent?",
    "regexException" => "RegexException: expected argument %s as regexp (%s), received %s",
    "methodException" => "The requested method %s.%s does not exist",
    "moduleNotFound" => "The requested module %s was not found on this server.",
    "noPropertyException" => "NoSuchPropertyException: %s.%s",
    "processorException" => "AnnotationException: processor %s is not annotation_processor descendant",
    "propertyException" => "RequiredNameException: name is required to map variable to this property",
    "requiredException" => "RequiredParameterException: %s",
    "resourceNameException" => "ResourceNameException: find %s, found %s",
    "resourceNotFound" => "ResourceNotFoundException: %s",
    "resourceProtected" => "The requested resource %s is protected",

    "callback" => "<html><head><script language=javascript>window.parent.rs('%s');</script></head><body></body></html>",

    "ajaxText" => "## Exception in %s (on line %s): %s\n%s",
    "httpText" => "<pre>\n## Exception in <b>%s</b> (on line <b>%s</b>): <b style=\"color:red\">%s</b>\n%s\n</pre>",
    "jsonType" => "Content-Type: application/json",

    "alnum" => "expected argument %s as alphanumeric, received %s",
    "alpha" => "expected argument %s as alphabetic, received %s",
    "digit" => "expected argument %s as digit, received %s",
    "email" => "expected argument %s as email, received %s",
    "boolean" => "expected argument %s as boolean, received %s",
    "dateFormat" => "expected %s as date, received %s",
    "length" => "expected argument (%s), %s (%d)",
    "value" => "expected argument (%s) %s %s %s",
    "expect" => "Expect should be an array"
);
?>